<form>
  <div class="form-group row">
    <label for="inputEmail3" class="col-sm-2 form-control-label text-right" style="line-height: 35px">旧密码：</label>
    <div class="col-sm-6">
      <input type="email" class="form-control" id="inputEmail3" placeholder="旧密码" minlength="6" maxlength="20" [(ngModel)]="passwordData.usedPass" [ngModelOptions]="{standalone: true}" (keyup)="keyUp()">
    </div>
  </div>
  <div class="form-group row">
    <label for="inputPassword3" class="col-sm-2 form-control-label text-right" style="line-height: 35px">新密码：</label>
    <div class="col-sm-6">
      <input type="password" class="form-control" id="inputPassword3" placeholder="新密码" minlength="6" maxlength="20" [(ngModel)]="passwordData.newPass" [ngModelOptions]="{standalone: true}" (keyup)="keyUp()">
    </div>
  </div>
  <div class="form-group row">
    <label for="inputPassword3" class="col-sm-2 form-control-label text-right" style="line-height: 35px">确认密码：</label>
    <div class="col-sm-6">
      <input type="password" class="form-control" id="inputPassword4" placeholder="确认密码" minlength="6" maxlength="20" [(ngModel)]="passwordData.confirmPass" [ngModelOptions]="{standalone: true}" (keyup)="keyUp()">
    </div>
  </div>



  <div class="form-group row" style="margin-left: 172px;">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-secondary" (click)="cancle()">取消</button>
      <button type="submit" class="btn btn-primary" (click)="savePwd()">确定</button>
    </div>
  </div>

</form>